﻿Imports DAO
Imports DTO
Public Class DICHVUBUS
    Private dao As New DICHVUDAO()

    Public Function load_DICHVU() As DataTable
        Return dao.loadDICHVU()
    End Function
    Public Function them_DICHVU(ByVal dto As DICHVUDTO) As Boolean
        If dao.them_DICHVU(dto) = True Then
            Return True
        Else
            Return False
        End If
    End Function

    Public Function capnhat_DICHVU(ByVal dto As DICHVUDTO) As Boolean
        If dao.capnhat_DICHVU(dto) = True Then
            Return True
        Else
            Return False
        End If
    End Function

    Public Function xoa_DICHVU(ByVal dto As DICHVUDTO) As Boolean
        If dao.xoa_DICHVU(dto) = True Then
            Return True
        Else
            Return False
        End If
    End Function
End Class
